package com.situ.mall.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;

import com.situ.mall.dao.OrderMapper;
import com.situ.mall.entity.Order;
import com.situ.mall.service.IOrderService;

@Service
public class OrderServiceImpl implements IOrderService{

	@Autowired
	private OrderMapper orderMapper;

	@Override
	public List<Order> getUserSitePage(Integer userId) {

		return orderMapper.getUserSitePage(userId);
	}

//	@Override
//	public Order selectByUserId(Integer userId) {
//
//		return orderMapper.selectByUserId(userId);
//	}

	
	
}
